#ifndef __UIGAMEOVER_H__
#define __UIGAMEOVER_H__

#include "cocos2d.h"
#include "cocos-ext.h"
#include "Common.h"

USING_NS_CC;
USING_NS_CC_EXT;
using namespace cocos2d::gui;
class UIGameOver : public CCLayer
{
public:
	enum EUIGameOverTag
	{
		EUIGT_share = 4,
		EUIGT_rock = 5,
		EUIGT_retry = 6,
		EUIGT_more = 7,

		EUIGT_name = 8,
		EUIGT_score = 9,
		EUIGT_best = 10,
	};

public:
	UIGameOver();
	~UIGameOver();

	static UIGameOver* create();

	bool init();
	bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent) { return true; }

	void onEnter();
	void onExit();

public:
	void on_EUIGT_share(CCObject* pSender, TouchEventType eType);
	void on_EUIGT_rock(CCObject* pSender, TouchEventType eType);
	void on_EUIGT_retry(CCObject* pSender, TouchEventType eType);
	void on_EUIGT_more(CCObject* pSender, TouchEventType eType);
};

#endif